<div class="list">
  <table>
    <thead>
      <tr>
        <g:sortableColumn property="id" title="Id" />
        <g:sortableColumn property="name" title="Name" />
      </tr>
    </thead>

    <tbody>
      <g:each in="${teamInstanceList}" status="i" var="teamInstance">
        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">                
          <td>
	    <g:link action="show" controller="team" id="${teamInstance.id}">
	      ${fieldValue(bean:teamInstance, field:'id')}
	    </g:link>
	  </td>
          <td>${fieldValue(bean:teamInstance, field:'name')}</td>                
        </tr>
      </g:each>
    </tbody>

  </table>
</div>
